package com.jisheng.xb.common;

import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;

public class CommonUtil {
	/**
	 * 获取配置文件值
	 * @author xiaodong.chen
	 * @param fileName 
	 *          文件名
	 * @param filedName
	 *          属性key
	 * @return
	 */
	public static String getproperties(String fileName,String filedName){
		ResourceBundle bundle = PropertyResourceBundle.getBundle(fileName);
		String value = bundle.getString(filedName);
		return value;
	}
}
